import axios from 'axios';


export class RequestClient {
  static async get(url: string, headers: any = {}, timeout = 10000) {
    return await axios.get(url, { headers, timeout });
  }

  static async post(url: string, data: any, headers: any = {}, timeout = 10000) {
    return await axios.post(url, data, { headers, timeout });
  }
}
